package com.qys.livesMall.open.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户和设备关联表
 * </p>
 *
 * @author wzy
 * @since 2023-07-07
 */
@Getter
@Setter
@TableName("h2_app_user_device")
@Schema(name = "AppUserDevice", description = "用户和设备关联表")
public class H2AppUserDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @Schema(description = "设备")
    private String deviceId;
}
